home *** CD-ROM | disk | FTP | other *** search
-
- /* SV_MemSubs.h
- - Memory Management Routines IFF-Support -
- (c) 1990-93 by Andreas R. Kleinert
- Last changes : 02.10.1993
- */
-
-
- /* Memory-Support-Functions */
-
- extern struct AIM_MemList * __saveds __stdargs AIM_GetMemList(void);
- extern void __saveds __stdargs AIM_FreeMemList(struct AIM_MemList *MemList);
- extern long __saveds __stdargs AIM_AddMemEntry(struct AIM_MemList *mlist, APTR pointer, long size);
- extern APTR __saveds __stdargs AIM_AllocMemEntry(struct AIM_MemList *mlist, ULONG size, ULONG type);
-
-
- struct AIM_MemList
- {
- struct List ml_EntryList; /* List of Entries. Type : struct AIM_MemEntry */
- LONG ml_NumEntries; /* Number of List-Entries */
- };
-
- /* The AIM_MemEntry structure, retured by AIM_GetMemList() */
-
- struct AIM_MemEntry
- {
- struct Node MemNode;
-
- APTR MemPointer;
- };
-